package com.atguigu.srb.core;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.atguigu.srb.core.mapper")
@ComponentScan({"com.atguigu.srb.mq","com.atguigu.srb.core","com.atguigu.srb.common","com.atguigu.srb.base"})
@EnableDiscoveryClient
public class ServiceCoreApplication {
    public static void main(String[] args) {
        // 启动类
        SpringApplication.run(ServiceCoreApplication.class, args);
        System.out.println("ServiceCore启动成功");
    }
}
